/**
 * 
 */
package com.example.server.message;

/**
 * @author tonyzhu
 * 
 */
public abstract class AbstractMessage {
	public static final String METHOD = "method";
	public static final String MESSAGEID = "messageId";
	public static final String SESSIONID = "sessionId";
	public static final String VERSION = "v";
	public static final String DEBUG = "debug";
	protected String method;

	protected String messageId;

	protected String sessionId;

	protected String v;

	protected String debug;
	
	public AbstractMessage() {
	}

	/**
	 * @return the _messageId
	 */
	public String getMessageId() {
		return messageId;
	}

	/**
	 * @param _messageId
	 *            the _messageId to set
	 */
	public void setMessageId(String messageId) {
		this.messageId = messageId;
	}

	/**
	 * @return the _sessionId
	 */
	public String getSessionId() {
		return sessionId;
	}

	/**
	 * @param _sessionId
	 *            the _sessionId to set
	 */
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	/**
	 * @param _commandId
	 *            the _commandId to set
	 */
	public void setMethod(String method) {
		this.method = method;
	}

	/**
	 * @return the _commandId
	 */
	public String getMethod() {
		return method;
	}

	public String getV() {
		return v;
	}

	public void setV(String v) {
		this.v = v;
	}

	public String getDebug() {
		return debug;
	}

	public void setDebug(String debug) {
		this.debug = debug;
	}

}
